package com.corpgovernment.costcenter.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.corpgovernment.api.ordercenter.dto.annotation.ExcelColumn;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProjectInfoDownloadResponseVo {

    // easyExcel 表头以ExcelProperty生效
    @ExcelProperty(value = "公司/部门编号", order = 1)
    @ExcelColumn(value = "公司/部门编号", col = 1)
    @ColumnWidth(20)
    private String businessCode;

    @ExcelProperty(value = "项目名称", order = 2)
    @ExcelColumn(value = "项目名称", col = 2)
    @ColumnWidth(20)
    private String projectName;

    @ExcelProperty(value = "项目编码", order = 3)
    @ExcelColumn(value = "项目编码", col = 3)
    @ColumnWidth(20)
    private String projectCode;

    @ExcelProperty(value = "项目负责人", order = 4)
    @ExcelColumn(value = "项目负责人", col = 4)
    @ColumnWidth(20)
    private String projectLeader;

    @ExcelProperty(value = "项目开始生效时间（yyyy-MM-dd HH:mm:ss）", order = 5)
    @ExcelColumn(value = "项目开始生效时间（yyyy-MM-dd HH:mm:ss）", col = 5)
    @ColumnWidth(60)
    private String validStartDate;

    @ExcelProperty(value = "项目过期时间（yyyy-MM-dd HH:mm:ss）", order = 6)
    @ExcelColumn(value = "项目过期时间（yyyy-MM-dd HH:mm:ss）", col = 6)
    @ColumnWidth(60)
    private String validEndDate;

}
